package com.eight.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Q小旭
 * @version 1.0
 */
@Data
@TableName("admin")
@ApiModel(value = "管理员",description = "管理员信息")
public class Admin {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "管理员编号",name = "adminid")
    private Integer adminid;

    @ApiModelProperty(value = "管理员名称",name = "adminname")
    private String adminname;

    @ApiModelProperty(value = "管理员密码",name = "adminpassword")
    private String adminpassword;
}
